﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Loan.master" AutoEventWireup="true"
    CodeFile="StudentEntry.aspx.cs" Inherits="StudentReg_StudentEntry" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table border="0">
        <tr>
            <td colspan="2">
            <asp:DataGrid runat="server" ID="grdStudent" />
            </td>
        </tr>
        <tr>
            <td>
                Roll No.
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtRoll" />
                <asp:Button runat="server" ID="btnDelete" Text="Delete Rec." OnClick="btnDelete_Click" />
                <asp:Button runat="server" ID="btnEdit" Text="Edit Rec." OnClick="btnEdit_Click" />
            </td>
        </tr>
        <tr>
            <td>
                Name
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtName" />
            </td>
        </tr>
        <tr>
            <td>
                Age
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtAge" />
            </td>
        </tr>
        <tr>
            <td>
            <asp:Button runat="server" ID="btnAddRow" Text="Add Row" OnClick="btnAddRow_Click" />
            <asp:Button runat="server" ID="btnUpdate" Text="Update." OnClick="btnUpdate_Click" />
            </td>
            <td>
                <asp:Button runat="server" ID="btnAdd" Text="Add Rec." OnClick="btnAdd_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
